package com.qili.service.sys.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.sys.SysAppVersions;
import com.qili.entity.sys.SysRole;
import com.qili.mapper.sys.SysAppVersionsMapper;
import com.qili.mapper.sys.SysRoleUserMapper;
import com.qili.service.sys.SysAppVersionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysAppVersionsServiceImpl extends BaseServiceImpl<SysAppVersions, String> implements SysAppVersionsService {

    @Autowired
    private SysAppVersionsMapper sysAppVersionsMapper;

    @Override
    public BaseMapper<SysAppVersions, String> getMappser() {
        return sysAppVersionsMapper;
    }

    @Override
    public SysAppVersions selectNewestVersion() {
        return sysAppVersionsMapper.selectNewestVersion();
    }
}
